package com.emex.app.shared.ws;

import com.emex.app.shared.data.JuridicalPerson;
import java.util.List;
import javax.jws.WebService;

/**
 *
 * @author Sergey Karavaev
 */
@WebService(targetNamespace = "http://emex.com/JuridicalPerson")
public interface JuridicalPersonWebService {
    
    public int deleteJuridicalPersonByPrimaryKey(Integer id);

    public JuridicalPerson insertJuridicalPerson(JuridicalPerson record);
  
    public JuridicalPerson selectJuridicalPersonByPrimaryKey(Integer id);

    public JuridicalPerson updateJuridicalPerson(JuridicalPerson record);
    
    public List<JuridicalPerson> getAllJuridicalPersons();
    
    public List<JuridicalPerson> getAllJuridicalPeronsByName(String name);
}
